/**
 * 工具类 设定一些固定值
 *
 * */

const payStatusDict = {
  '0': {
    color: '#9b9b9b',
    name: '未处理',
    visible:false
  },
  '1': {
    color: '#04ac47',
    name: '交易成功',
    visible:true
  },
  '2': {
    color: '#ac2c03',
    name: '交易失败',
    visible:true
  },
  '3': {
    color: '#ac5f03',
    name: '用户退款',
    visible:true
  },
  '4': {
    color: '#ac8e05',
    name: '交易取消',
    visible:false
  },
  '5': {
    color: '#709eac',
    name: '超时关闭',
    visible:false
  },
  '6': {
    color: '#ac8e05',
    name: '交易取消中',
    visible:false
  },
  '8': {
    color: '#02ac98',
    name: '交易中',
    visible:false
  },
  '9': {
    color: '#02ac98',
    name: '交易中',
    visible:false
  }
}

const payTypeDict = {
  '0': {
    color: '#CCFFCC',
    name: '窗口付'
  },
  '1': {
    color: '#66CCCC',
    name: '自助机'
  },
  '2': {
    color: '#009999',
    name: '微信支付'
  }
}
const platTypeDict = {
  '1': {
    color: '#99CCFF',
    name: '支付宝'
  },
  '2': {
    color: '#009999',
    name: '微信'
  },
  '3': {
    color: '#FFCC99',
    name: '银联刷卡'
  },
  '4': {
    color: '#FFFFCC',
    name: '农商行刷卡'
  },
  '5': {
    color: '#66CCCC',
    name: '银联扫码付'
  },
  '8': {
    color: '#CCFFFF',
    name: '数字人民币'
  },
  '25': {
    color: '#CCFFCC',
    name: '行内-借记卡'
  },
  '26': {
    color: '#336699',
    name: '行内-贷记卡'
  },
}
export default {
  payStatusDict,
  payTypeDict,
  platTypeDict
}
